<div id="wrapper-content" align="left">

    <table class="titrepage" width="100%">
        <tr>              
            <td >La liste des videos</td>
            <td align="right">Total | <?php echo $total ?> </td>
        </tr>
    </table>
    <table width="100%" class="list">
        <thead>
            <tr>
                <th>Name</th>
                <th>Video</th>
                <th>Date</th>
            </tr>
        </thead>
        <?php foreach ($query as $aRow): ?>
            <tr>
                <td><?php echo $aRow['name']; ?></td>
                  <td><?php echo $aRow['video']; ?></td>
                <td><?php echo $aRow['dat']; ?></td>
                <td><a href="<?php echo site_url('seating_admin/delete_video')."/".$aRow['id']?>">Suprimmer</a></td>
                </tr>
        <?php endforeach; ?>
                </table>
<?php echo $pagination; ?>

    <div class="bajouter" align="center">Ajouter un video</div>
    <div style="margin:10px 0px 10px 0px;display:none;">
        <form   method="POST" id="formcheck" action="<?php echo site_url('seating_admin/upload_video');?>" enctype="multipart/form-data">
            <table width="100%" id="formactu" cellpadding="10px" cellspacing="0">
                <tr>
                    <td><span>Titre </span><input  type="text"   name="titre" ><br/></td></tr>
                    <tr><td><span>Video </span><input  type="file"  name="userfile"  ></td></tr>
                    <tr><td><input type="submit" name="submit" border="0" src="<?php echo base_url();?>assets/css/images/ajouter.png"  value="Submit" alt="Submit"></td>
                </tr>
            </table>
        </form>
    </div>
</div>
<!--END wrapper-content-->
